package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同模板对象 cm_contract_templates
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class CmContractTemplates extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板编码 */
    @Excel(name = "模板编码")
    private String templateCode;

    /** 模板描述 */
    @Excel(name = "模板描述")
    private String description;

    /** 模板分类: 1-清单明细, 2-合同书, 3-验收单 */
    @Excel(name = "模板分类: 1-清单明细, 2-合同书, 3-验收单")
    private Long category;

    /** 模板文件存储路径 */
    @Excel(name = "模板文件存储路径")
    private String filePath;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }

    public void setTemplateCode(String templateCode) 
    {
        this.templateCode = templateCode;
    }

    public String getTemplateCode() 
    {
        return templateCode;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCategory(Long category) 
    {
        this.category = category;
    }

    public Long getCategory() 
    {
        return category;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("templateCode", getTemplateCode())
            .append("description", getDescription())
            .append("category", getCategory())
            .append("filePath", getFilePath())
            .toString();
    }
}
